{extend name="index/base" /}
{block name="main"}
<table class="table table-bordered">
    <tr>
        <th>名称</th>
        <th>操作</th>
    </tr>
    {volist name="data" id="vo"}
    <tr>
        <td>{$vo.name}</td>
        <td><a href="{:url('save_daan', ['id' => $vo.id])}" class="btn btn-default">编辑</a> <a href="{:url('delete_daan', ['id' => $vo.id])}" class="btn btn-default del">删除</a> </td>
    </tr>
    {/volist}
</table>
<a href="{:url('save_daan')}" class="btn btn-default">添加</a>
{/block}